<?xml version="1.0" encoding="UTF-8"?>

<window xmlns:web="http://www.yonyou.com/uapmobile/dsl" canvaswidth="375" orientation="vertical" controller="UpToRackScanController" canvasheight="850" namespace="com.yonyou.ncmm_pac_pda" id="UpToRackScan">
    <import ref="UpToRackScan.css" type="css"/>
    <link href="sys/theme.css" type="text/css"/>
    <script src="#{path.controller}/commonjs/extjs/jquery-2.1.1.min.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/AppPatch.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/AppService.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_http.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_pub.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_datamange.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_dateutil.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_mappingvo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_mappingheadvo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_pubmenu.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_marcoderesultvo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_barcodeparse.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_barcoderulevo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_barcoderulebodyvo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_batchcodevo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_barcodedictvo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_barcodedictbodyvo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_materialvo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_measdocvo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_stordocvo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_rackvo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_materialconvertvo.js" type="text/javascript"/>
    <script src="#{path.controller}/UpToRack/ncmm_uptorackvo.js" type="text/javascript"/>
    <script src="#{path.controller}/UpToRack/ncmm_uptorackutil.js" type="text/javascript"/>
    <div onrestart="this.restart()" id="viewPage0" onload="this.onload()">
        <navigatorbar id="navigatorbar0" title="物料码扫描" class="navigatorbarclass">
            <input onclick="back()" id="button0" type="button" class="buttonclass"/>
            <div id="panel0"/>
            <div id="panel1">
                <input onclick="loadmenu()" istogglebutton="false" checked="false" id="btn_menu" type="imagebutton" class="imagebuttonclass"/> 
            </div> 
        </navigatorbar>
        <Scrollview width="fill" hScrollEnabled="disabled" weight="1" id="Scrollview_panel2" height="0">
            <div id="panel2">
                <div id="panel3">
                    <label id="label0">条码</label>
                    <label id="label1">label</label>
                    <input bindfield="vbarcode" maxlength="256" onchange="onScantxtInput()" id="textbox0" placeholder="扫描物料码" autofocus="autofocus" type="text"/>
                    <input imagebuttontype="icon" istogglebutton="false" onclick="this.imagebutton0_onclick()" checked="false" id="imagebutton1" type="imagebutton" value="图标名称" class="imagebuttonclass"/> 
                </div>
                <div id="panel4">
                    <label id="label2">物料编码</label>
                    <label id="label3">label</label>
                    <input bindfield="pk_material_code" maxlength="256" disabled="disabled" id="textbox1" placeholder="" type="text"/> 
                </div>
                <div id="panel5">
                    <label id="label4">物料名称</label>
                    <label id="label5">label</label>
                    <input bindfield="pk_material_name" maxlength="256" disabled="disabled" id="textbox2" placeholder="" type="text"/> 
                </div>
                <div id="panel6">
                    <label id="label6">规格</label>
                    <label id="label7">label</label>
                    <input bindfield="materialspec" maxlength="256" disabled="disabled" id="textbox3" placeholder="" type="text"/> 
                </div>
                <div id="panel7">
                    <label id="label8">型号</label>
                    <label id="label9">label</label>
                    <input bindfield="materialtype" maxlength="256" disabled="disabled" id="textbox4" placeholder="" type="text"/> 
                </div>
                <div id="panel8">
                    <label id="label10">批次号</label>
                    <label id="label11">label</label>
                    <input bindfield="vbatchcode" maxlength="256" id="textbox5" placeholder="" type="text" oninput="onBatchcodeInput()"/> 
                </div>
                <div id="panel9">
                    <label id="label12">序列号</label>
                    <label id="label13">label</label>
                    <input bindfield="vserialcode" maxlength="256" id="textbox6" placeholder="" type="text" oninput="onBatchcodeInput()"/> 
                </div>
                <div id="panel10">
                    <label id="label14">单位</label>
                    <label id="label15">label</label>
                    <input bindfield="castunitid_name" maxlength="256" disabled="disabled" id="textbox7" placeholder="" type="text"/>
                    <input imagebuttontype="icon" istogglebutton="false" onclick="this.astUnitRef()" checked="false" id="imagebutton7" type="imagebutton" value="图标名称" class="imagebuttonclass"/> 
                </div>
                <div id="panel11">
                    <label id="label16">主单位</label>
                    <label id="label17">label</label>
                    <input bindfield="cunitid_name" maxlength="256" disabled="disabled" id="textbox8" placeholder="" type="text"/> 
                </div>
                <div id="panel15">
                    <label id="label24">转出货位</label>
                    <label id="label25"/>
                    <input bindfield="zcpk_rack_name" maxlength="256" disabled="disabled" id="textbox12" placeholder="" type="text"/> 
                </div>
                <div id="panel16">
                    <label id="label26">转入货位</label>
                    <label id="label27"/>
                    <input bindfield="zrpk_rack_name" maxlength="256" onchange="inRackEdit()" id="textbox13" placeholder="录入货位码" type="text"/>
                    <input imagebuttontype="icon" istogglebutton="false" onclick="this.inRackRef()" checked="false" id="imagebutton5" type="imagebutton" value="图标名称" class="imagebuttonclass"/>
                    <input imagebuttontype="icon" istogglebutton="false" onclick="this.inRackScan()" checked="false" id="imagebutton6" type="imagebutton" value="图标名称" class="imagebuttonclass"/> 
                </div>
                <div id="panel19">
                    <label id="label28">批次号</label>
                    <label id="label29">label</label>
                    <input bindfield="vbatchcode" maxlength="256" id="textbox14" placeholder="" type="text"/> 
                </div>
                <div id="panel20">
                    <label id="label30">序列号</label>
                    <label id="label31">label</label>
                    <input bindfield="vserialcode" maxlength="256" id="textbox15" placeholder="" type="text"/> 
                </div>
                <div id="panel12">
                    <label id="label18">数量</label>
                    <label id="label19">label</label>
                    <input bindfield="nassistnum" maxlength="256" id="textbox9" placeholder="" type="text" oninput="this.calNum()"/> 
                </div>
                <div id="panel21">
                    <label id="label20">主数量</label>
                    <label id="label21">label</label>
                    <input bindfield="nnum" maxlength="256" id="textbox10" placeholder="" type="text" oninput="this.calAstNum()"/> 
                </div>
                <div id="panel18">
                    <textArea bindfield="locationinfo" disabled="disabled" id="textarea0" placeholder="当前物料存在的货位信息"/> 
                </div> 
            </div>
        </Scrollview>
        <div id="panel17">
            <input onclick="localSave()" id="button1" type="button" value="保存" class="textbtnclass"/>
            <input onclick="onOneScanSubmit()" id="button2" type="button" value="提交" class="textbtnclass"/> 
        </div> 
    </div> 
</window>
